package com.lollipop.chain.simplechain;

/**
 * @Author: J.K
 * @Date: 2021-08-31 13:31
 * @Description:
 */
public class HtmlFilter implements Filter {
    @Override
    public String doFilter(String str) {
        //process the html tag <>
        String r = str.replace('<', '[')
                .replace('>', ']');
        return r;
    }
}
